import { ControllerHelper } from '@/core/utils/ControllerHelper'

class ControllerUtils {
	of<R>(fn: () => Promise<R>): ControllerHelper<R> {
		return new ControllerHelper<R>(fn)
	}
}

const controllerUtils = new ControllerUtils()

export default controllerUtils
